CMAKE_MINIMUM_REQUIRED(VERSION 3.10)

project(iot-plat)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(HEAD_PATH $ENV{IOT_PLAT}/include)

set(LIB_PATH $ENV{IOT_PLAT}/lib/x64)

set(EXEC_PATH $ENV{IOT_PLAT}/bin)

set(MODEL_DEVICE_LIB model_device)
set(OS_LIB os)

add_subdirectory(os)
add_subdirectory(iot_model_device)
add_subdirectory(server)
add_subdirectory(protocol)
